<template>
  <div>
    <van-tabbar v-model="active" router>
      <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/course">课程</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/message">资讯</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/books">图书</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  data() {
    return {
      active:'',
    }
  },
}
</script>